<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>逛水果店</title>
    <style>
        table tr {
            border: thick double #000;
        }
    </style>
</head>

<body>
    <div>
        <p>欢迎光临_vue开发的收银系统_水果店</p>
        <table border="1">

            <tr>
                <td>苹果10￥/斤，折扣《8折》
                </td>
            </tr>
            <tr>
                <td>
                    请输入你要购买的斤数 <input type="text">
                </td>
            </tr>
            <tr>
                <td>
                    <button @click="priceAll">结账买单</button>
                </td>
            </tr>
            <tr>
                <td>
                    结账单:总价{{priceAll}}元 折价后：{{}}￥元，省了：{{}}元
                </td>
            </tr>
        </table>
    </div>



    <script src="../vue.js">
        const app = new Vue({
            el: '#app',
            data: {
                num: 0
            },
            methods: {
                priceAll() {

                }
            },


        }) 
    </script>
</body>

</html>